home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_macMaxButtonStyle.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
2KB
|
46 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _macMaxButtonStyle
{
private static var _embed_css_mac_max_up_png_1754354043:Class = _macMaxButtonStyle__embed_css_mac_max_up_png_1754354043;
private static var _embed_css_mac_max_dis_png_435603623:Class = _macMaxButtonStyle__embed_css_mac_max_dis_png_435603623;
private static var _embed_css_mac_max_down_png_1177327017:Class = _macMaxButtonStyle__embed_css_mac_max_down_png_1177327017;
private static var _embed_css_mac_max_over_png_500113051:Class = _macMaxButtonStyle__embed_css_mac_max_over_png_500113051;
public function _macMaxButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macMaxButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".macMaxButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_mac_max_up_png_1754354043;
this.overSkin = _embed_css_mac_max_over_png_500113051;
this.downSkin = _embed_css_mac_max_down_png_1177327017;
this.disabledSkin = _embed_css_mac_max_dis_png_435603623;
};
}
}
}
}